import axios from "./axios";

// getDraft({page:1,size:20})
export const getDraft = (params)=>
    axios.get('/draft/pageList',{params})

// postDraft({draftTitle:"aa"})
export const postDraft = (data)=>
    axios.post('/draft/create',data)